package com.xxzuibang.day4;

import java.util.Scanner;

public class Test4 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个小写字符：");
        char c = sc.next().charAt(0);
        switch (c) {
            case 'a':
                System.out.println((char)('a' - 32));
                break;
            case 'b':
                System.out.println((char)('b' - 32));
                break;
            case 'c':
                System.out.println((char)('c' - 32));
                break;
            case 'd':
                System.out.println((char)('d' - 32));
                break;
            case 'e':
                System.out.println((char)('e' - 32));
                break;
            default:
                System.out.println("other");
                break;
        }
    }
}
